package com.baizhi.springmvc.service;

import com.baizhi.springmvc.entity.User;

public interface UserService {
    User login(String name,String password);

    void register(User user);

    void updateStatus(Integer id);
    User selectByName(String name);
}
